package com.ttl.bc.ap.invoice.bean;

import org.displaytag.decorator.TableDecorator;



public class BCAPInvoiceShowDecorator extends TableDecorator {	
	
	public String getMode() {		
		
		BCAPInvoiceShowBean obj = (BCAPInvoiceShowBean)getCurrentRowObject();
		String docNo = obj.getDocNo();				
		
		String edit = "";//"<a href=\"/ittl/apinvoice/apinvoiceUpdate.do?mode=edit&docNo="+docNo+"\" >แก้ไข | </a>";
		String print = "<a href=\"/ittl/apinvoice/apinvoice.do?mode=print&docNo="+docNo+"\" target=\"_blank\">Print</a>";
		
		
		return "<center>"+edit+print+"</center>";					
	}	
}
